public class WeightOnMoon {
    public static void main(String[] args) {
        double weightOnEarth = 49, weightOnMoon;
        weightOnMoon = weightOnEarth * 17 / 100;
        System.out.println("My weight on moon is " + weightOnMoon + "kg!");
    }
}